import scrapy


class CaipuInfoItem2(scrapy.Item):
    caipu_info_dto = scrapy.Field(serializer=str)


class CaipuInfoItem(scrapy.Item):
    caipu_info_id = scrapy.Field()
    caipu_title = scrapy.Field()
    caipu_third_source_id = scrapy.Field()
    caipu_main_ingredients_json = scrapy.Field()
    caipu_others_ingredients_json = scrapy.Field()
    caipu_intro = scrapy.Field()
    caipu_tips = scrapy.Field()
    caipu_tech = scrapy.Field()
    caipu_steps = scrapy.Field()
    caipu_imgs = scrapy.Field()


class CaipuStepInfoItem(scrapy.Item):
    caipu_step_info_id = scrapy.Field()
    caipu_info_id = scrapy.Field()
    caipu_step_sort = scrapy.Field()
    caipu_step_text = scrapy.Field()


class FileInfoItem(scrapy.Item):
    file_info_id = scrapy.Field()
    file_third_network_url = scrapy.Field()
    file_biz_type = scrapy.Field()
    file_name = scrapy.Field()
    file_suffix = scrapy.Field()
    file_relative_path = scrapy.Field()
    file_remark = scrapy.Field()
